//
//  BAAQICityModel.swift
//  BadAir
//
//  Created by D on 2018/3/3.
//  Copyright © 2018年 D. All rights reserved.
//

import ObjectMapper

class BAAQICityModel: Mappable {
    
    var so2: String = ""
    var o3: String = ""
    var area_code: String = ""
    var pm2_5: String = ""
    var primary_pollutant: String = ""
    
    var ct: String = ""
    var co: String = ""
    var num: String = ""
    var area: String = ""
    var no2: String = ""
    
    var aqi: String = ""
    var quality: String = ""
    var pm10: String = ""
    var o3_8h: String = ""
    
    var site_name: String = ""
    
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        so2 <- map["so2"]
        o3 <- map["o3"]
        area_code <- map["area_code"]
        pm2_5 <- map["pm2_5"]
        primary_pollutant <- map["primary_pollutant"]
        
        ct <- map["ct"]
        co <- map["co"]
        num <- map["num"]
        area <- map["area"]
        no2 <- map["no2"]
        
        aqi <- map["aqi"]
        quality <- map["quality"]
        pm10 <- map["pm10"]
        o3_8h <- map["o3_8h"]
        
        site_name <- map["site_name"]
    }
    
    
    
    
}
